HTML5 Canvas For Dummies by Don Cowan

HTML5 Canvas For Dummies by Don Cowan

Author:Don Cowan
Language: eng
Format: epub, pdf
Publisher: Wiley Publishing
Published: 2012-12-02T16:00:00+00:00


Figure 7-4: Example of using the rule of thirds.

If you’re developing an application that involves significant object movement, the rule of thirds can be helpful for designing the background image and the placement of any stationary objects.

The rule of thirds works for several reasons:

The magic number 3: In mathematics and the arts, three is considered to be a very balanced and harmonious number. Two and four are probably very jealous.

Manageable number of sub-spaces: The horizontal and vertical sub-division by three creates a very manageable number of nine sub-spaces. Not too many, not too few.

Reasonable distances from the edges: Objects squashed up against the Canvas edges can look crowded and out of place. The subdivision lines and intersections tend to pull objects away from the edges.

Pleasing placement: The lines and intersections are at pleasing distances from one another.

Using the golden ratio in your design

How can you resist trying something named the golden ratio? This relationship between two numbers has been in use for at least 2,400 years, dating back to Pythagoras and Euclid in ancient Greece.

Figure 7-5 demonstrates the golden ratio with a pair of adjacent rectangles where the ratio of sides a to b is the same as the ratio of sides a+b to a, or about 1.61:

a/b = (a+b)/a = 1.61803…



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.